package me.raih.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @Author Raih
 * @Time 2020/11/26  10:42
 *
 * 这个是前后端交互用的
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@Scope(value = "prototype")
public class ResultInfo {

    @Value("false")
    private Boolean flag;
    private String message;
    private Object data;
}
